package com.st.shopadmin.pojo;

import java.util.Date;

public class MessageContent {
    private Long id;

    private Long fromUid;

    private Date createTime;

    private Integer mesageType;

    private Integer userType;

    private String title;

    private String content;

    public MessageContent(Long id, Long fromUid, Date createTime, Integer mesageType, Integer userType, String title, String content) {
        this.id = id;
        this.fromUid = fromUid;
        this.createTime = createTime;
        this.mesageType = mesageType;
        this.userType = userType;
        this.title = title;
        this.content = content;
    }

    public MessageContent() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFromUid() {
        return fromUid;
    }

    public void setFromUid(Long fromUid) {
        this.fromUid = fromUid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getMesageType() {
        return mesageType;
    }

    public void setMesageType(Integer mesageType) {
        this.mesageType = mesageType;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}